package model;

import javax.microedition.lcdui.Graphics;

import font.BitmapFont;


public class Command {
	public String caption;
	public IAction action;

	 /**
	  * @param caption
	  * @param action
	  */
    public Command(String caption, IAction action) {
        super();
        this.caption = caption;
        this.action = action;
    }

    public void update(){};
    public void paint(Graphics g,int x,int y){     	
    	BitmapFont.drawBoldFont(g, caption, x, y, 0x3a001e, 2);
    }
}
